package com.letv.so.bean;

import java.util.List;
import java.util.Map;

import com.alibaba.fastjson.JSONObject;
import com.letv.so.util.ZHConverter;

/**
 * 视频Bean
 * 
 * @author majianchun
 * 
 */
public class VideoBean extends BaseDataBean implements java.io.Serializable {

	private static final long serialVersionUID = 15700516264052050L;

	private String vid;// 视频ID
	private String mid;// 资源ID
	private String aid;// 所属专辑
	private String aorder;// 专辑位置(在专辑中的顺序)
	private String name;// 名称
	private String highLightName;// 名称
	private String nameQuanpin;// name全拼
	private String nameJianpin;// name简拼
	private String qname;// query name
	private String sname;// suggest name
	private String subName;// 副标题
	private String englishName;// 英文名
	private String firstWord;// 首字母
	private String otherName;// 别名
	private String directory;// 导演
	private String starring;// 主演
	private String actor;// 演员
	private String category;// 分类：电视，电视剧，动漫，娱乐等
	private String categoryName;
	private String subCategory;// 子分类：爱情，科幻等
	private String subCategoryName;
	private String videoType;// 视频类型：1,正片 2,预告片 3,花絮 4,资讯 5,其他
	private String videoTypeName; // 视频类型(数字对应中文)
	private String style;// 音乐中的风格:1流行，2摇滚，3爵士，4民谣，5电子
	private String area;// 地区：1.大陆, 2.香港, 3.台湾, 4.欧美, 5.日本, 6.韩国, 0.其他
	private String areaName;// 地区名字
	private String pushFlag;// 推送状态，按位标识: 第一位ptv, 第二位vip, 0为不推送, 1为推送
	private String copyright;// 版权信息：4.无版权,1.独家, 2.非独家,3.第三方授权
	private String language;// 语言
	private String rating;// 评分
	private String votes;// 评分人数
	private String recommLevel;// 推荐指数
	private String description;// 详细介绍
	private String shortDesc;// 简略介绍
	private String tag;// 标签
	private String isDisplay;// 是否显示
	private String allowDownload;// 是否允许下载  ="0"
	private String allowCode;// 是否支持验证码
	private String allowMonth;// 是否支持包月，1是，0否
	private String isPay;// 是否付费
	private String payProduct;// 付费产品：1,VIP 2,www 3,超清机 4,手机
	private String singlePrice;// 单片价格
	private String discountPrice;// 折扣价格
	private String fitAge;// 适应年龄
	private String releaseDate;// 上映年份
	private String ctime;// 创建时间
	private String mtime;// 修改时间
	private String time; // 格式时间
	private String postS1;// 竖图1：150px*200px
	private String postS2;// 竖图2：120px*160px
	private String postS3;// 竖图3：96px*128px
	private String postH1;// 横图1：220px*145px
	private String postH2;// 横图2：130px*80px
	private String postH3;// 横图2：180px*135px
	private String viewPic;// 视频截图
	private String videoPic; // 视频截图前缀（多种尺寸）videoPic/thumb/$NO_$W_$H.jpg
// $NO默认取2，例如：videoPic/thumb/2_400_300.jpg
	private String duration;// 每集时长（分钟）
	private String playCount;// 播放次数
	private String dayCount;// 播放次数
	private String playStreams; // 码流
	private String playStreamsValue; // 码流对应值
	private String url;// 播放地址
	private String src;// 1：vrs，0：ptv
	private String payDate;// 付费日期
	private String picUpload;// 编辑上传的图片
	private List<Map<String, String>> videoInfo;// 热点接口专用
	private String contentRating; // 18+
	private String deadlink;
	private String unid;
	private String images;
	private String external_id;
	private JSONObject external_play_id;
    private String svid;
    private String guoguang;

	public String getGuoguang() {
        return guoguang;
    }

    public void setGuoguang(String guoguang) {
        this.guoguang = guoguang;
    }

    public String getPlayStreamsValue() {
        return playStreamsValue;
    }

    public void setPlayStreamsValue(String playStreamsValue) {
        this.playStreamsValue = playStreamsValue;
    }

    public JSONObject getExternal_play_id() {
        return external_play_id;
    }

    public void setExternal_play_id(JSONObject external_play_id) {
        this.external_play_id = external_play_id;
    }

    /**
	 * @return the deadlink
	 */
	public String getDeadlink() {
		return deadlink;
	}

	/**
	 * @param deadlink the deadlink to set
	 */
	public void setDeadlink(String deadlink) {
		this.deadlink = deadlink;
	}

	public String getContentRating() {
		return contentRating;
	}

	public void setContentRating(String contentRating) {
		this.contentRating = contentRating;
	}
	
	public String getUnid() {
		return unid;
	}

	public void setUnid(String unid) {
		this.unid = unid;
	}

	/**
	 * 模型统一新增子字段
	 */
	private String maker; // 制片人
	private String copyrightName; // 版权(中文)
	private String copyrightBegin; // 版权开始时间
	private String copyrightEnd; // 版权结束时间
	private String copyrightCompany; // 版权公司
	private String authors; // 音乐作词
	private String compose; // 音乐作曲者
	private String styleName; // 风格
	private String recordCompany; // 唱片公司
	private String publishCompany; // 发行公司
	private String tvID; // 所属电视台
	private String tvName; // 电视台名称
	private String discountDate; // 折扣有效期
	private String isdelete; // 是否删除
	/**
	 * iptv特有字段
	 */
	private String vrsVideoinfoId; // vrs视频id
	private String iptvAid; // iptv专辑id
	private String broadcastIDs; // 播控方
	private String imgVertical150x220; // 竖图1：150px*200px
	private String imgVertical120x160; // 竖图2：120px*160px
	private String imgHorizontal130x80; // 横图2：130px*80px
	private String starringPlay;
	private String isHomemade;
	/**
	 * -------------新媒资新加字段---------------------
	 */
	private String actorPlay; // 饰演角色
	private String controlAreas; // 海外屏蔽或者允许的地区
	private String disableType; // 海外屏蔽类型\n 0.全部屏蔽 1.全部允许 2.部分屏蔽 3.部分允许
	private String downloadPlatform; // 允许下载平台
	private String episodes; // 总集数
	private String issue; // 期数
	private String mobileTitle; // 移动端显示标题
	private String payPlatform; // 付费平台
	private String picOriginal; // 原图
	private String porder; // 在专辑顺序
	private String spDate; // 定时发布时间
	private String sourceId; // 所属渠道
	private String watchingFocus; // 看点
	private String startringPlay; // 纪录片中的人物
	private String status; // 发布状态： 0,未发布 1已发布2发布失败
	private String tvTitle; // tv端显示标题
	private String websiteTitle; // 网站显示标题
	private String actorName; // 演员
	private String directoryName; // 导演
	private String actorNameDp; // 演员(不经过Process，页面展示用)
	private String directoryNameDp; // 导演(不经过Process，页面展示用)
	private String userId;
	private String videoPanid;
	private String global_vid;
	private String letvOrininalSvid;

	public String getLetvOrininalSvid() {
        return letvOrininalSvid;
    }

    public void setLetvOrininalSvid(String letvOrininalSvid) {
        this.letvOrininalSvid = letvOrininalSvid;
    }

    /**
	 * @return the global_vid
	 */
	public String getGlobal_vid() {
		return global_vid;
	}

	/**
	 * @param global_vid the global_vid to set
	 */
	public void setGlobal_vid(String global_vid) {
		this.global_vid = global_vid;
	}

	/**
	 * @return the videoPanid
	 */
	public String getVideoPanid() {
		return videoPanid;
	}

	/**
	 * @param videoPanid the videoPanid to set
	 */
	public void setVideoPanid(String videoPanid) {
		this.videoPanid = videoPanid;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public List<Map<String, String>> getVideoInfo() {
		return videoInfo;
	}

	public void setVideoInfo(List<Map<String, String>> videoInfo) {
		this.videoInfo = videoInfo;
	}

	public String getVid() {
		return vid;
	}

	public void setVid(String vid) {
		this.vid = vid;
	}

	public String getMid() {
		return mid;
	}

	public void setMid(String mid) {
		this.mid = mid;
	}

	public String getAid() {
		return aid;
	}

	public void setAid(String aid) {
		this.aid = aid;
	}

	public String getAorder() {
		return aorder;
	}

	public void setAorder(String aorder) {
		this.aorder = aorder;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getNameQuanpin() {
		return nameQuanpin;
	}

	public void setNameQuanpin(String nameQuanpin) {
		this.nameQuanpin = nameQuanpin;
	}

	public String getNameJianpin() {
		return nameJianpin;
	}

	public void setNameJianpin(String nameJianpin) {
		this.nameJianpin = nameJianpin;
	}

	public String getQname() {
		return qname;
	}

	public void setQname(String qname) {
		this.qname = qname;
	}

	public String getSname() {
		return sname;
	}

	public void setSname(String sname) {
		this.sname = sname;
	}

	public String getSubName() {
		return subName;
	}

	public void setSubName(String subName) {
		this.subName = subName;
	}

	public String getEnglishName() {
		return englishName;
	}

	public void setEnglishName(String englishName) {
		this.englishName = englishName;
	}

	public String getDayCount() {
		return dayCount;
	}

	public void setDayCount(String dayCount) {
		this.dayCount = dayCount;
	}

	public String getFirstWord() {
		return firstWord;
	}

	public void setFirstWord(String firstWord) {
		this.firstWord = firstWord;
	}

	public String getOtherName() {
		return otherName;
	}

	public void setOtherName(String otherName) {
		this.otherName = otherName;
	}

	public String getDirectory() {
		return directory;
	}

	public void setDirectory(String directory) {
		this.directory = directory;
	}

	public String getStarring() {
		return starring;
	}

	public void setStarring(String starring) {
		this.starring = starring;
	}

	public String getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	public String getCategoryName() {
		return categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	public String getSubCategory() {
		return subCategory;
	}

	public void setSubCategory(String subCategory) {
		this.subCategory = subCategory;
	}

	public String getSubCategoryName() {
		return subCategoryName;
	}

	public void setSubCategoryName(String subCategoryName) {
		this.subCategoryName = subCategoryName;
	}

	public String getVideoType() {
		return videoType;
	}

	public void setVideoType(String videoType) {
		this.videoType = videoType;
	}

	public String getVideoTypeName() {
		return videoTypeName;
	}

	public void setVideoTypeName(String videoTypeName) {
		this.videoTypeName = videoTypeName;
	}

	public String getStyle() {
		return style;
	}

	public void setStyle(String style) {
		this.style = style;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public String getAreaName() {
		return areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}

	public String getPushFlag() {
		return pushFlag;
	}

	public void setPushFlag(String pushFlag) {
		this.pushFlag = pushFlag;
	}

	public String getCopyright() {
		return copyright;
	}

	public void setCopyright(String copyright) {
		this.copyright = copyright;
	}

	public String getLanguage() {
		return language;
	}

	public void setLanguage(String language) {
		this.language = language;
	}

	public String getRating() {
		return rating;
	}

	public void setRating(String rating) {
		this.rating = rating;
	}

	public String getVotes() {
		return votes;
	}

	public void setVotes(String votes) {
		this.votes = votes;
	}

	public String getRecommLevel() {
		return recommLevel;
	}

	public void setRecommLevel(String recommLevel) {
		this.recommLevel = recommLevel;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getShortDesc() {
		return shortDesc;
	}

	public void setShortDesc(String shortDesc) {
		this.shortDesc = shortDesc;
	}

	public String getTag() {
		return tag;
	}

	public void setTag(String tag) {
		this.tag = tag;
	}

	public String getIsDisplay() {
		return isDisplay;
	}

	public void setIsDisplay(String isDisplay) {
		this.isDisplay = isDisplay;
	}

	public String getAllowDownload() {
		return allowDownload;
	}

	public void setAllowDownload(String allowDownload) {
		this.allowDownload = allowDownload;
	}

	public String getAllowCode() {
		return allowCode;
	}

	public void setAllowCode(String allowCode) {
		this.allowCode = allowCode;
	}

	public String getAllowMonth() {
		return allowMonth;
	}

	public void setAllowMonth(String allowMonth) {
		this.allowMonth = allowMonth;
	}

	public String getIsPay() {
		return isPay;
	}

	public void setIsPay(String isPay) {
		this.isPay = isPay;
	}

	public String getPayProduct() {
		return payProduct;
	}

	public void setPayProduct(String payProduct) {
		this.payProduct = payProduct;
	}

	public String getSinglePrice() {
		return singlePrice;
	}

	public void setSinglePrice(String singlePrice) {
		this.singlePrice = singlePrice;
	}

	public String getDiscountPrice() {
		return discountPrice;
	}

	public void setDiscountPrice(String discountPrice) {
		this.discountPrice = discountPrice;
	}

	public String getFitAge() {
		return fitAge;
	}

	public void setFitAge(String fitAge) {
		this.fitAge = fitAge;
	}

	public String getReleaseDate() {
		return releaseDate;
	}

	public void setReleaseDate(String releaseDate) {
		this.releaseDate = releaseDate;
	}

	public String getCtime() {
		return ctime;
	}

	public void setCtime(String ctime) {
		this.ctime = ctime;
	}

	public String getMtime() {
		return mtime;
	}

	public void setMtime(String mtime) {
		this.mtime = mtime;
	}

	public String getPostS1() {
		return postS1;
	}

	public void setPostS1(String postS1) {
		this.postS1 = postS1;
	}

	public String getPostS2() {
		return postS2;
	}

	public void setPostS2(String postS2) {
		this.postS2 = postS2;
	}

	public String getPostS3() {
		return postS3;
	}

	public void setPostS3(String postS3) {
		this.postS3 = postS3;
	}

	public String getPostH1() {
		return postH1;
	}

	public void setPostH1(String postH1) {
		this.postH1 = postH1;
	}

	public String getPostH2() {
		return postH2;
	}

	public void setPostH2(String postH2) {
		this.postH2 = postH2;
	}

	public String getViewPic() {
		return viewPic;
	}

	public void setViewPic(String viewPic) {
		this.viewPic = viewPic;
	}

	public String getVideoPic() {
		return videoPic;
	}

	public void setVideoPic(String videoPic) {
		this.videoPic = videoPic;
	}

	public String getDuration() {
		return duration;
	}

	public void setDuration(String duration) {
		this.duration = duration;
	}

	public String getPlayCount() {
		return playCount;
	}

	public void setPlayCount(String playCount) {
		this.playCount = playCount;
	}

	public String getPlayStreams() {
		return playStreams;
	}

	public void setPlayStreams(String playStreams) {
		this.playStreams = playStreams;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	@Override
    public String getSrc() {
		return src;
	}

	@Override
    public void setSrc(String src) {
		this.src = src;
	}

	public String getPayDate() {
		return payDate;
	}

	public void setPayDate(String payDate) {
		this.payDate = payDate;
	}

	public String getMaker() {
		return maker;
	}

	public void setMaker(String maker) {
		this.maker = maker;
	}

	public String getCopyrightName() {
		return copyrightName;
	}

	public void setCopyrightName(String copyrightName) {
		this.copyrightName = copyrightName;
	}

	public String getCopyrightBegin() {
		return copyrightBegin;
	}

	public void setCopyrightBegin(String copyrightBegin) {
		this.copyrightBegin = copyrightBegin;
	}

	public String getCopyrightEnd() {
		return copyrightEnd;
	}

	public void setCopyrightEnd(String copyrightEnd) {
		this.copyrightEnd = copyrightEnd;
	}

	public String getCopyrightCompany() {
		return copyrightCompany;
	}

	public void setCopyrightCompany(String copyrightCompany) {
		this.copyrightCompany = copyrightCompany;
	}

	public String getAuthors() {
		return authors;
	}

	public void setAuthors(String authors) {
		this.authors = authors;
	}

	public String getCompose() {
		return compose;
	}

	public void setCompose(String compose) {
		this.compose = compose;
	}

	public String getStyleName() {
		return styleName;
	}

	public void setStyleName(String styleName) {
		this.styleName = styleName;
	}

	public String getRecordCompany() {
		return recordCompany;
	}

	public void setRecordCompany(String recordCompany) {
		this.recordCompany = recordCompany;
	}

	public String getPublishCompany() {
		return publishCompany;
	}

	public void setPublishCompany(String publishCompany) {
		this.publishCompany = publishCompany;
	}

	public String getTvID() {
		return tvID;
	}

	public void setTvID(String tvID) {
		this.tvID = tvID;
	}

	public String getTvName() {
		return tvName;
	}

	public void setTvName(String tvName) {
		this.tvName = tvName;
	}

	public String getDiscountDate() {
		return discountDate;
	}

	public void setDiscountDate(String discountDate) {
		this.discountDate = discountDate;
	}

	public String getIsdelete() {
		return isdelete;
	}

	public void setIsdelete(String isdelete) {
		this.isdelete = isdelete;
	}

	public String getVrsVideoinfoId() {
		return vrsVideoinfoId;
	}

	public void setVrsVideoinfoId(String vrsVideoinfoId) {
		this.vrsVideoinfoId = vrsVideoinfoId;
	}

	public String getIptvAid() {
		return iptvAid;
	}

	public void setIptvAid(String iptvAid) {
		this.iptvAid = iptvAid;
	}

	public String getBroadcastIDs() {
		return broadcastIDs;
	}

	public void setBroadcastIDs(String broadcastIDs) {
		this.broadcastIDs = broadcastIDs;
	}

	public String getImgVertical150x220() {
		return imgVertical150x220;
	}

	public void setImgVertical150x220(String imgVertical150x220) {
		this.imgVertical150x220 = imgVertical150x220;
	}

	public String getImgVertical120x160() {
		return imgVertical120x160;
	}

	public void setImgVertical120x160(String imgVertical120x160) {
		this.imgVertical120x160 = imgVertical120x160;
	}

	public String getImgHorizontal130x80() {
		return imgHorizontal130x80;
	}

	public void setImgHorizontal130x80(String imgHorizontal130x80) {
		this.imgHorizontal130x80 = imgHorizontal130x80;
	}
	
	public String getImages() {
        return images;
    }

    public void setImages(String images) {
        this.images = images;
    }

    public String getHighLightName() {
		return highLightName;
	}

	public void setHighLightName(String highLightName) {
		this.highLightName = highLightName;
	}

	public String getPostH3() {
		return postH3;
	}

	public void setPostH3(String postH3) {
		this.postH3 = postH3;
	}

	public String getActor() {
		return actor;
	}

	public void setActor(String actor) {
		this.actor = actor;
	}

	public String getStarringPlay() {
		return starringPlay;
	}

	public void setStarringPlay(String starringPlay) {
		this.starringPlay = starringPlay;
	}

	public String getIsHomemade() {
		return isHomemade;
	}

	public void setIsHomemade(String isHomemade) {
		this.isHomemade = isHomemade;
	}

	public String getActorPlay() {
		return actorPlay;
	}

	public void setActorPlay(String actorPlay) {
		this.actorPlay = actorPlay;
	}

	public String getControlAreas() {
		return controlAreas;
	}

	public void setControlAreas(String controlAreas) {
		this.controlAreas = controlAreas;
	}

	public String getDisableType() {
		return disableType;
	}

	public void setDisableType(String disableType) {
		this.disableType = disableType;
	}

	public String getDownloadPlatform() {
		return downloadPlatform;
	}

	public void setDownloadPlatform(String downloadPlatform) {
		this.downloadPlatform = downloadPlatform;
	}

	public String getEpisodes() {
		return episodes;
	}

	public void setEpisodes(String episodes) {
		this.episodes = episodes;
	}

	public String getIssue() {
		return issue;
	}

	public void setIssue(String issue) {
		this.issue = issue;
	}

	public String getMobileTitle() {
		return mobileTitle;
	}

	public void setMobileTitle(String mobileTitle) {
		this.mobileTitle = mobileTitle;
	}

	public String getPayPlatform() {
		return payPlatform;
	}

	public void setPayPlatform(String payPlatform) {
		this.payPlatform = payPlatform;
	}

	public String getPicOriginal() {
		return picOriginal;
	}

	public void setPicOriginal(String picOriginal) {
		this.picOriginal = picOriginal;
	}

	public String getPorder() {
		return porder;
	}

	public void setPorder(String porder) {
		this.porder = porder;
	}

	public String getSpDate() {
		return spDate;
	}

	public void setSpDate(String spDate) {
		this.spDate = spDate;
	}

	public String getSourceId() {
		return sourceId;
	}

	public void setSourceId(String sourceId) {
		this.sourceId = sourceId;
	}

	public String getWatchingFocus() {
		return watchingFocus;
	}

	public void setWatchingFocus(String watchingFocus) {
		this.watchingFocus = watchingFocus;
	}

	public String getStartringPlay() {
		return startringPlay;
	}

	public void setStartringPlay(String startringPlay) {
		this.startringPlay = startringPlay;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getTvTitle() {
		return tvTitle;
	}

	public void setTvTitle(String tvTitle) {
		this.tvTitle = tvTitle;
	}

	public String getWebsiteTitle() {
		return websiteTitle;
	}

	public void setWebsiteTitle(String websiteTitle) {
		this.websiteTitle = websiteTitle;
	}

	public String getActorName() {
		return actorName;
	}

	public void setActorName(String actorName) {
		this.actorName = actorName;
	}

	public String getDirectoryName() {
		return directoryName;
	}

	public void setDirectoryName(String directoryName) {
		this.directoryName = directoryName;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getActorNameDp() {
		return actorNameDp;
	}

	public void setActorNameDp(String actorNameDp) {
		this.actorNameDp = actorNameDp;
	}

	public String getDirectoryNameDp() {
		return directoryNameDp;
	}

	public void setDirectoryNameDp(String directoryNameDp) {
		this.directoryNameDp = directoryNameDp;
	}

	public String getPicUpload() {
		return picUpload;
	}

	public void setPicUpload(String picUpload) {
		this.picUpload = picUpload;
	}

	public String getExternal_id() {
		return external_id;
	}

	public void setExternal_id(String external_id) {
		this.external_id = external_id;
	}

    public String getSvid() {
        return svid;
    }

    public void setSvid(String svid) {
        this.svid = svid;
    }

    public void sample2traditional(ZHConverter converter) {
        boolean same = name.equals(subName)?true:false;
        name = converter.convert(name);
        aorder = converter.convert(aorder);
        if (!same) {
            subName = converter.convert(subName);
        } else {
            subName = name;
        }
        
    }
}